home *** CD-ROM | disk | FTP | other *** search
-
-
-
- UNIQ(1L) Misc. Reference Manual Pages UNIQ(1L)
-
-
-
- NNNNAAAAMMMMEEEE
- uniq - remove duplicate lines from a sorted file
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- uuuunnnniiiiqqqq [-cdu] [-f skip-fields] [-s skip-chars] [ - w check-
- chars] [-#skip-fields] [+#skip-chars] [--count] [--repeated]
- [--unique] [--skip-fields=skip-fields] [- - skip-chars=skip-
- chars] [ - - check-chars=check-chars] [--help] [--version]
- [infile] [outfile]
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- This manual page documents the GNU version of uuuunnnniiiiqqqq. uuuunnnniiiiqqqq
- prints the unique lines in a sorted file, discarding all but
- one of a run of matching lines. It can optionally show only
- lines that appear exactly once, or lines that appear more
- than once. uuuunnnniiiiqqqq requires sorted input because it compares
- only consecutive lines.
-
- If the output file is not specified, uuuunnnniiiiqqqq writes to the
- standard output. If the input file is not specified, it
- reads from the standard input.
-
- OOOOPPPPTTTTIIIIOOOONNNNSSSS
- -_u, --_u_n_i_q_u_e
- Only print unique lines.
-
- -_d, --_r_e_p_e_a_t_e_d
- Only print duplicate lines.
-
- -_c, --_c_o_u_n_t
- Print the number of times each line occurred along with
- the line.
-
- -_n_u_m_b_e_r, -_f, --_s_k_i_p-_f_i_e_l_d_s=_n_u_m_b_e_r
- In this option, _n_u_m_b_e_r is an integer representing the
- number of fields to skip over before checking for
- uniqueness. The first _n_u_m_b_e_r fields, along with any
- blanks found before _n_u_m_b_e_r fields is reached, are
- skipped over and not counted. Fields are defined as a
- strings of non-space, non-tab characters, that are
- separated from each other by spaces and tabs.
-
- +_n_u_m_b_e_r, -_s, --_s_k_i_p-_c_h_a_r_s=_n_u_m_b_e_r
- In this option, _n_u_m_b_e_r is an integer representing the
- number of characters to skip over before checking for
- uniqueness. The first _n_u_m_b_e_r characters, along with
- any blanks found before _n_u_m_b_e_r characters is reached,
- are skipped over and not counted. If you use both the
- field and character skipping options, fields are
- skipped over first.
-
- -_w, --_c_h_e_c_k-_c_h_a_r_s=_n_u_m_b_e_r
-
-
-
- FSF Last change: GNU Text Utilities 1
-
-
-
-
-
-
- UNIQ(1L) Misc. Reference Manual Pages UNIQ(1L)
-
-
-
- Specify the number of characters to compare in the
- lines, after skipping any specified fields and charac-
- ters. Normally the entire rest of the lines are com-
- pared.
-
- --_h_e_l_p
- Print a usage message and exit with a non-zero status.
-
- --_v_e_r_s_i_o_n
- Print version information on standard output then exit.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- FSF Last change: GNU Text Utilities 2
-
-
-
-